<?php
if (!empty($_GET['id']))$idResidence=$_GET['id'];
else header('Location:./../index.php');
include_once dirname(__FILE__)."/../../ini.php";
include_once ROOTDIR.'/common/header.php';
include 'leftMenu.php';
//$residence=new Residence($idResidence);
$residence->setOffreEmloi();
$emplois=$residence->getOffreEmploi();

print_r($emplois);

?>
	
<?php 
include_once ROOTDIR.'/common/footer.php';
?>